package com.profgj.profgj.enums;

/**
 * 数据库请求处理结果枚举
 */
public final class ServerStatus {

    /* 数据操作状态码 */
    public static final Integer OK = 200;

    public static final Integer ERROR = 400;

    /* 数据操作常量信息 */
    public static final String QUERY_MESSAGE_SUCCESS = "数据查询成功";

    public static final String QUERY_MESSAGE_ERR = "数据查询失败";

    public static final String DATA_INSERT_SUCCESS = "数据添加成功";

    public static final String DATA_INSERT_ERR = "数据添加失败";

    public static final String DATA_UPDATE_SUCCESS = "数据更新成功";

    public static final String DATA_UPDATE_ERR = "数据更新失败";

    public static final String DATA_DELETE_SUCCESS = "数据删除成功";

    public static final String DATA_DELETE_ERR = "数据删除失败";

    /* 其他一些操作信息 */
    public static final String NOT_FILE_NULL = "上传的图片或文件不能为空";

    public static final String FILE_UPLOAD_SUCCESS = "图片上传成功";

    public static final String FILE_UPLOAD_ERR = "图片上传失败";

    public static final String EN_NOT_EXISTS = "企业不存在";

    public static final String PBI_NOT_EXISTS = "项目基本情况不存在";

    public static final String PID_NOT_EXISTS = "项目要件不存在";

    public static final String ROLE_NOT_EXISTS = "用户角色不存在";

    public static final String USER_NOT_EXISTS = "用户不存在";

    public static final String USER_EXISTS = "用户已存在,请更换用户名";

    public static final String USER_REGISTER_SUCCESS = "用户注册成功";

    public static final String USER_REGISTER_FAILD = "用户注册失败";

    public static final String UNIT_NOT_EXISTS = "计量单位不存在";

    public static final String UNIT_TYPE_NOT_EXISTS = "计量单位关键字不能为空";

    public static final String UNIT_TYPE_KEYWORD_INVALID = "计量单位关键字类别无效";

    public static final String YEAR_NOT_EXISTS = "年不存在";

    public static final String YEAR_NOT_NULL = "年不能为空";

    public static final String EN_EXISTS = "同名企业已存在";

    public static final String ID_NOT_NULL= "id不能为空或者大于0";

    public static final String KEY_WORD_NOT_EMPTY = "查询的关键字不能为空";

    public static final String LIMIT_PARAM_NOT_NULL = "分页参数需要大于0";

    public static final String PARAM_NOT_EMPTY = "请求参数不能为空";

    public static final String ENTERPRISE_NOT_NUL = "企业不能为空";

    public static final String PROJECTBASEINFO_NOT_NUL = "项目基本情况不能为空";

    public static final String PROJECTIMPORTANTDOCUMENT_NOT_NUL = "项目要件不能为空";

    public static final String PRODUCT_NOT_NUL = "产品不能未空";

    public static final String PRODUCTENERGYCONSUMPTIONSITUATIONSUB_NOT_NUL = "项目能耗不能为空";

    public static final String ENERGYCONSUMPTIONSITUATION_NOT_NULL = "能耗情况对象不能为空";

    public static final String SHORT_MESSAGE_SEND_FAILD = "短信发送失败";

    public static final String SHORT_MESSAGE_SEND_SUCCESSS = "短信发送成功";

    public static final String MONTH_ADD_SUCCESS = "月能耗添加成功";

    public static final String MONTH_UPDATE_SUCCESS = "月能耗更新成功";

    public static final String MONTH_DELETE_SUCCESS = "月能耗删除成功";

    public static final String Year_TOTAL_DELETED_FAILD = "月能耗删除成功,年统计失败,因为月份不足一年";

    public static final String Year_TOTAL_UPDATE_FAILD = "月能耗修改成功,年统计失败,因为月份不足一年";

    public static final String MONTH_YEAR_TOTAL_SUCCESS = "月记录插入成功,年能耗统计成功";

    public static final String MONTH_YEAR_UPDATE_TOTAL_SUCCESS = "月记录更新成功,年能耗统计成功";

    public static final String MONTH_YEAR_TOTAL_RESULT_SUCCESS = "月记录插入成功,年能耗统计成功,总能耗统计成功";

    public static final String MONTH_YEAR_UPDATE_TOTAL_RESULT_SUCCESS = "月记录更新成功,年能耗统计成功,总能耗统计成功";

    public static final String PASSWORD_REPASSWORD_NOEQURE = "两次密码不相同";

}
